package com.cy.pj.sys.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ApprovalHistory {
    private String approvalId;      //审批编码
    private String approverId;      //审批人编码
    private String approverName;    //审批人名字
    private String processId;       //审批流程编码
    private Integer level;           //等级
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date completeTime;    //审批完成时间
    private Integer status;          //审批状态 0审批通过 1审批驳回
}
